package org.dromara.system.config;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.dromara.system.util.JacksonFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 王星
 * @date 2024/6/4 下午5:53
 */
@Configuration
public class ServiceBeanConfig {

    @Bean
    public ObjectMapper objectMapper() {
        return JacksonFactory.newObjectMapper();
    }
}
